package com.benew.ntt.player

interface IAudioPlayListener {

    fun onPrepare(url: String?, id: Long) {

    }

    fun onComplete(url: String?, id: Long) {

    }

    fun onError(url: String?, id: Long, code: Int, msg: String?) {

    }

    fun onStop(url: String?, id: Long) {

    }

    fun onPause() {

    }

    fun onPlaying() {

    }

    /**
     * 列表Item切换回调
     */
    fun onMediaChanged(audioItem : AudioItem) {

    }
}